package door;

/**
 *  天师测试类
 * @Author lzp
 * @Date 2024-03-14
 */
public class Test3 {
    public static void main(String[] args) {

        //看木门能不能辟邪
        TianShi tianShi = new TianShi();
        MuDoor muDoor = new MuDoor();
        tianShi.zhuoYao(muDoor);

        //看铁玉门能不能辟邪
        TieYuMen tieYuMen = new TieYuMen();
        tianShi.zhuoYao(tieYuMen);

        //看铁玉门能不能辟邪
        TaoMuMen taoMuMen = new TaoMuMen();
        tianShi.zhuoYao(taoMuMen);
    }
}
